import { API } from "types";

export type NotificationDataType = API.BaseType & {
  subscriberType: string;
  topicProvider: string;
  subscriberName: string;
  state: string;
};

export type TagType = {
  key: string;
  label: string;
};

export const subscribeState = ["订阅中", "已停止"];
export const subscribeType = ["USER", "DEMO", "ADMIN"];
export const topicProvider = ["device_alarm"];
